export default vm => {
  return {
    stripe: true,
    headerAlign: 'left',
    align: 'left',
    border: true,
    defaultExpandAll: false,
    selection: true,
    tip: false,
    searchMenuSpan: 6,
    searchMenuPosition: 'left',
    size: 'mini',
    maxHeight: '600',
    column: [
      {
        label: '主键',
        prop: 'recordId',
        display: false,
        hide: true
      },
      {
        label: '所属案卷',
        prop: 'archivesId',
        type: 'select',
        dicUrl: '/archives/archives/list?isDic=true',
        props: {
          label: 'name',
          value: 'archivesId',
          res: 'rows'
        },
        search: true
      },
      {
        label: '装备名称',
        prop: 'equipmentName'
      },
      {
        label: '用户姓名',
        prop: 'userName'
      },
      {
        label: '电话号码',
        prop: 'phone'
      },
      {
        label: '图片base64',
        prop: 'base64'
      },
      {
        label: '装备状态',
        prop: 'type',
        type: 'select',
        dicData: [{ label: '入库', value: '0' }, { label: '出库', value: '1' }]
      },
      {
        label: '创建时间',
        prop: 'createTime'
      }
    ]
  }
}
